package com.lwlean.audit.domain;

import java.util.Date;

/**
 * Created by lean on 16-10-11.
 */
public class Audit {

    private Long id;

    private String auditName;

    private String auditContent;

    private String participants;

    private Double consume;

    private Date createDate;

    private Date auditDate;

    private String creator;

    private String auditor;

    private boolean auditResult;

    private String remark;

    public Audit() {
        super();
    }

    public Audit(Long id, String auditName, String auditContent, String participants, Double consume, Date createDate, Date auditDate, String creator, String auditor, boolean auditResult, String remark) {
        this.id = id;
        this.auditName = auditName;
        this.auditContent = auditContent;
        this.participants = participants;
        this.consume = consume;
        this.createDate = createDate;
        this.auditDate = auditDate;
        this.creator = creator;
        this.auditor = auditor;
        this.auditResult = auditResult;
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public String getAuditName() {
        return auditName;
    }

    public String getAuditContent() {
        return auditContent;
    }

    public String getParticipants() {
        return participants;
    }

    public Double getConsume() {
        return consume;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public String getCreator() {
        return creator;
    }

    public String getAuditor() {
        return auditor;
    }

    public boolean isAuditResult() {
        return auditResult;
    }

    public String getRemark() {
        return remark;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    public void setAuditContent(String auditContent) {
        this.auditContent = auditContent;
    }

    public void setParticipants(String participants) {
        this.participants = participants;
    }

    public void setConsume(Double consume) {
        this.consume = consume;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public void setAuditResult(boolean auditResult) {
        this.auditResult = auditResult;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Audit{" +
                "id=" + id +
                ", auditName='" + auditName + '\'' +
                ", auditContent='" + auditContent + '\'' +
                ", participants='" + participants + '\'' +
                ", consume=" + consume +
                ", createDate=" + createDate +
                ", auditDate=" + auditDate +
                ", creator='" + creator + '\'' +
                ", auditor='" + auditor + '\'' +
                ", auditResult=" + auditResult +
                ", remark='" + remark + '\'' +
                '}';
    }
}
